<!-- src/views/alert.vue -->
<template>
  <div>
    <button @click="handleOpen1">打开提示 1</button>
    <button @click="handleOpen2">打开提示 2</button>
  </div>
</template>
  <script>
export default {
  methods: {
    handleOpen1() {
      this.$Alert.info({
        content: '我是提示信息 1'
      });
    },
    handleOpen2() {
      this.$Alert.info({
        content: '我是提示信息 2',
        duration: 3
      });
    }
  }
}
</script>